import { request } from "@/utils/request";
const baseSuffix = '/ht-nonrealtime-gameservice'
const htUserBaseSuffix = '/ht-user'
/**
 * 获取企业全部的荣耀列表
 * @param data
 * @returns {Promise<unknown>}
 */
export const getEnterpriseAllHonourListApi = async data => {
    return request({
        url: `${baseSuffix}/honorScore/getEnterpriseHasHonorList`,
        method: 'GET',
        data
    })
}

export const getAppEnterpriseByIdApi = async data => {
    return request({
        url: `${htUserBaseSuffix}/enterprise/getAppEnterpriseById`,
        method: 'GET',
        data
    })
}
//获取荣誉分数
export const getHonorCount = async data => {
    return request({
        url: `/ht-nonrealtime-gameservice/badge/getBadgeGradeTemplate`,
        method: 'GET',
        data
    })
}